package net.lab1024.sa.admin.module.business.file.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.lab1024.sa.admin.module.business.file.domain.entity.DocmentabEntity;
import net.lab1024.sa.admin.module.business.file.domain.form.query.DocmentabQueryForm;
import net.lab1024.sa.admin.module.business.file.domain.vo.DocmentabVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 生产订单与机器对应表 Dao
 *
 * @Author AKITA
 * @Date 2025-07-09 17:14:21
 * @Copyright AKITA
 */

@Mapper
public interface DocmentabDao extends BaseMapper<DocmentabEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<DocmentabVO> queryPage(Page page, @Param("queryForm") DocmentabQueryForm queryForm);

    int selectMaxLineNum(@Param("docEntry") Long docEntry);
}
